import { init } from 'snabbdom/src/package/init';
import { h } from 'snabbdom/src/package/h';

let patch = init([]);
let vnode = h('div#container.cls', 'hello world');
let app = document.getElementById('app');
let oldVnode = patch(app, vnode);
vnode = h('div', 'Hello World');

patch(oldVnode, vnode);
